package com.itqf.di;

/**
 * @Description:
 * @Company: 千锋互联
 * @Author: 李丽婷
 * @Date: 2020/9/28
 * @Time: 上午9:26
 */
public class Student {

    private String name;
    private int id;

    private  Book book;

    public Student(){
    }

    public Student(int id,String studentName
    ){
        this.id = id;
        this.name = studentName;
    }



    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Book getBook() {
        return book;
    }

    public void setBook(Book book) {
        this.book = book;
    }
}
